MyGame.s5_1 = function(game) {
	
	

};


MyGame.s5_1.prototype = {
    create: function() {
    	
    	
		console.log('s5_1-VR')

        game.bg = game.add.image(0,0,'s5_1_bg');


        game.s5_1_huaxue = game.add.image(game.world.width,200,'s5_1_huaxue');
        game.add.tween(game.s5_1_huaxue).to({x:-game.world.width,y:900},800,Phaser.Easing.Cubic.In,true,2000).onComplete.add(function(){

            loadChart('p5_1',function(){
                $('#p5_1').hide();
                setTimeout(function(){
                    $('#p5_1').find('.chat-content').css({
                        opacity : 1
                    })
                },0)

                game.state.start('s6')


            })


            
        })


        

        GameUI.cutscenes()
        

       

    },



    update: function() {
    	
    	
    	
    },
    
    
    
    render : function(){
    	/*game.obstacles.forEach(function(item){
            game.debug.body(item);
        })
    	game.debug.body(game.player);*/
    }
};

